package com.jvm.classloader;

/**
 *
 */

class Parent1{

    static int a = 3;

    static {
        System.out.println("Parent1 static block");
    }
}

class Child1 extends Parent1{

    static int b = 4;

    static {
        System.out.println("Child1 static block");
    }
}

public class MyTest9 {

    static {
        System.out.println("MyTest9 static block");
    }

    public static void main(String[] args) {
        System.out.println(Child1.b);
    }
}
